package client;

import common.Item;

public class LastMinuteStrategy implements Strategy {

	private Item item;
	
	public LastMinuteStrategy(Item item) {
		this.item = item;
	}
	
	@Override
	public void bid(String currentBidder) {
		double currentBid = item.getCurrentBid();
		item.setCurrentBid(currentBid * 2);
		item.setCurrentBidder(currentBidder);
	}

}
